import request from "../utils/request";

// 获取数据+分页+搜索
export const apiPage = (data) => {
  return request({ url: "/api/page", method: "post", data });
};

// 发布/下线
export const apiIssuePage = (data) => {
  return request({ url: "/api/issuePage", method: "post", data });
};

// 删除
export const apiPageDel = (data) => {
  return request({ url: "/api/pageDel", method: "post", data });
};
